from zhoukao3_114.config import config
from selenium.webdriver.common.by import By

class Page(config):
    login_please=(By.XPATH,'/html/body/div[2]/div/div[1]/div/a[1]')
    def please_login(self):
        self.click(self.login_please)

    user_send=(By.ID,'userName')
    power_send=(By.ID,'password')
    def send_usepow(self):
        self.send_keys(self.user_send,'15651193747')
        self.send_keys(self.power_send,'Lfc20041117')

    llogin=(By.NAME,'bi_Usuallogin')
    def button_login(self):
        self.click(self.llogin)

    quedin=(By.CLASS_NAME,'bindSub')
    def login_quedin(self):
        self.click(self.quedin)